﻿Imports System.ComponentModel
Imports System.Activities.Presentation.Metadata
Imports System.Drawing

Public Class ZipCompressActivityDesigner
    Implements IRegisterMetadata

    Public Sub Register() Implements System.Activities.Presentation.Metadata.IRegisterMetadata.Register

        Dim builder As New AttributeTableBuilder
        builder.AddCustomAttributes(
            GetType(ZipCompressActivity),
           New DesignerAttribute(GetType(ZipCompressActivityDesigner)),
           New DescriptionAttribute("指定されたファイルを Zip 圧縮します。"),
           New ToolboxBitmapAttribute(GetType(ZipCompressActivity), "zippedfile.png"))

        MetadataStore.AddAttributeTable(builder.CreateTable)

    End Sub

End Class
